//
//  BetelgeuseanClass.cpp
//  Practice10
//
//  Created by 赵世杰 on 2020/7/25.
//  Copyright © 2020 zhaoshijie. All rights reserved.
//

#include "BetelgeuseanClass.hpp"
#include <iostream>

using namespace std;


Betelgeusean::Betelgeusean(char *ch)
{
    strcpy(name, ch);
    
    CI = 50;
    
}

void Betelgeusean::changeCI(unsigned int ci)
{
    CI = ci;
}

void Betelgeusean::show()
{
    cout << "name: " << name << "   CI: " << CI << endl;
}

void Betelgeusean::setDefaultName()
{
    strcpy(name, "Plorga");
}


